<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
    <title>Reference</title>
    <link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>

<div id="container">

<div id="product">
	<div id="product_logo"></div>
	<div id="product_name"><big><b></b></big></div>
	<div id="product_description"></div>
</div> <!-- id="product" -->


<div id="main">


<!-- Menu -->

<div id="navigation">
<br/>
<h1>ldoc</h1>

<ul>
  <li><a href="../index.html">Index</a></li>
</ul>

<h2>Contents</h2>
<ul>
<li><a href="#Functions">Functions</a></li>
</ul>


<h2>Modules</h2>
<ul class="nowrap">
  <li><a href="../modules/opentelemetry.html">opentelemetry</a></li>
  <li><strong>api.trace.span_status</strong></li>
</ul>

</div>

<div id="content">

<h1>Module <code>api.trace.span_status</code></h1>
<p>Span status represents the status of a span.</p>
<p> Like an HTTP code, but for your span. It is either unset, ok, or error.
</p>


<h2><a href="#Functions">Functions</a></h2>
<table class="function_list">
	<tr>
	<td class="name" nowrap><a href="#new">new (code)</a></td>
	<td class="summary">Returns a new span_status.</td>
	</tr>
</table>

<br/>
<br/>


    <h2 class="section-header "><a name="Functions"></a>Functions</h2>

    <dl class="function">
    <dt>
    <a name = "new"></a>
    <strong>new (code)</strong>
    </dt>
    <dd>
    Returns a new span_status.


    <h3>Parameters:</h3>
    <ul>
        <li><span class="parameter">code</span>
            <span class="types"><span class="type">int</span></span>
         The status code. Defaults to UNSET.
        </li>
    </ul>





</dd>
</dl>


</div> <!-- id="content" -->
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i>
<i style="float:right;">Last updated 2023-01-18 22:27:32 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>
</html>
